package com.example.laboratory.ui.adapter;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.laboratory.R;
import com.example.laboratory.bean.Record;
import com.example.laboratory.bean.Result;
import com.example.laboratory.common.ListDataHolder;
import com.example.laboratory.inter.OnRecordListItemClickListener;
import com.example.laboratory.utils.DateUtils;

public class ResultListAdapter extends BaseListAdapter<Result.ResultListBean>{

    private OnRecordListItemClickListener  listener;
    @Override
    protected int getLayoutId(int viewType) {
       return R.layout.item_xjrecord_list;
    }


    @Override
    public void bindDatas(ListDataHolder holder, final Result.ResultListBean bean, int itemType, final int position) {
        TextView tv_lab_name = holder.getView(R.id.tv_lab_name);
        tv_lab_name.setText(bean.getItemname());

    }
}
